<?php
 
// no direct access
defined('_JEXEC') or die('Restricted access');

class JElementApiKey extends JElement
{
    var $_name = 'APIKey';

    function fetchElement($name, $value, &$node, $ctrlName) {
        return '<input type="text" name="params['.$name.']" id="'.$name.'" class="text_area" size="50" maxlength="36" value="'.$value.'" /><button class="generatekey">'.JText::_('SYNCR_GENERATE_KEY').'</button>';
    }
}